package com.xuecheng.api.media;

import com.xuecheng.api.media.model.aliyun.VodUploadRequest;
import com.xuecheng.api.media.model.aliyun.VodUploadToken;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * @ClassName: AliyunApi
 * @Description: TODO
 * @author: 王亚军
 * @date: 2021/12/14  20:15
 */
@Api("媒资管理服务Api")
public interface AliyunApi {


    @ApiOperation("获得媒资文件上传凭证")
    VodUploadToken generateUploadToken(VodUploadRequest request);

    @ApiOperation("刷新媒资文件上传凭证")
    @ApiImplicitParam(name = "videoId",value = "媒资文件的id值",required = true,paramType = "path",dataType = "String")
    VodUploadToken refreshUploadToken(String videoId);


}
